Open the tools of a controller
A controller is the computer next to the line that runs the cameras, the flows and the models. The «Controller» section brings its tools into the platform: its state, its resources, its logs and the services it runs. In this guide you go through them.
What you will learn
- How to check at a glance that a controller is healthy
- Where to see its resources and its logs
- Which tools each menu opens
Before you start
You need a profile that sees «Controller», such as ais-operator, ais-admin or ais-superadmin. The section shows the controller chosen at the top right of the top bar.
1. Open the controller section
Click «Controller» in the top bar. It shows the tools of the active controller, the one named at the top right, and opens on its dashboard. Under the top bar, four menus open the rest of the tools.

2. Read the dashboard of the controller
Each card is a part of the controller, with its state in the corner (ok, warn or off) and a count at the top:
- Ghtop. Load, CPU, memory, GPU and the processes that use them most.
- Logs. Errors per hour and the size of the logs.
- Nats. The messages the controller's services send each other.
- Sftp. The accounts that can copy files to and from the controller.
- Docker. The services that are running and the ones that restarted.
- Emulator. Cameras and boards simulated for tests.
- Metrics. The history of the figures above.
A «warn» is not always a fault: here SFTP warns that nobody can connect yet because it has no accounts.

3. See the resources
Open «Information» and choose «Resources». It shows the controller's processor, memory, disk, network and GPU, refreshed every second. A disk close to full or a GPU memory always at the top explain many slow or failing inspections. Below the charts, the list of processes can be filtered by command, user or container.

4. Read the logs
«Information» → «Logs» gathers the logs of the controller: the system's (journal), the services' (docker) and syslog. Narrow them by time, source, level or text, or with a preset: «Stack errors», «Kernel» (shown here) and «Docker». «Export» saves what you see, to send it to whoever helps you. «NATS», in the same menu, shows the messages between services.

5. Check the services
«Services» → «Containers» lists the services that make up the controller (Node-RED, the inference server, the database…), whether they are running and healthy, how many times they restarted, and the CPU and memory each one uses. The buttons at the end of each row stop and restart a service: the inspection that depends on it stops meanwhile.

6. Find the other tools
«Tools» opens the rest:
- IDE. A code editor on the controller's files.
- X Window. The controller's desktop, with a terminal.
- Database. The administration of the controller's local database.
- SFTP. Accounts to copy files to and from the controller.
- Emulator. Simulated cameras and boards, to test a flow without the line.
«Settings» → «Flags» holds the start-up options of the controller's modules. The tools act on the real controller: changing a file, a flag or a service there changes the inspection it runs.

The menus of each controller are set up in «Settings» → «Controller», so yours may list other tools.
Next steps
- A controller shows as offline when the section does not load
- Track token and storage usage to see what the project has spent
Recorded on Rosepetal release 1.8.15.